package com.tangye.massageshop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.Alias;

import javax.validation.constraints.NotBlank;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_shop")
@Alias("shop")
public class ShopEntity extends BaseEntity{
    @TableId(type = IdType.AUTO)
    private Integer shopId;
    @NotBlank
    private String shopName;
    @NotBlank
    private Integer companyId;

    private String shopAddress;

    private String shopContact;

    private String shopPhone;

    private String shopStatus;
}
